package fr.vahren.dotastrat.gui;

import com.trolltech.qt.gui.QHBoxLayout;
import com.trolltech.qt.gui.QWidget;

public class D2SHeroWidget extends D2SDockWidget {

	private QWidget content;
	private D2SHeroPortrait heroPortrait;
	private D2SActionListWidget actionList;
	private D2SActionButtonsWidget actionButtons;

	public D2SHeroWidget() {

		content = new QWidget();

		content.setLayout(new QHBoxLayout());
		heroPortrait = new D2SHeroPortrait();
		content.layout().addWidget(heroPortrait);

		actionList = new D2SActionListWidget();
		content.layout().addWidget(actionList);

		actionButtons = new D2SActionButtonsWidget();
		content.layout().addWidget(actionButtons);

		setWidget(content);

	}

	public void writeTextToStatus() {
	}

	/**
	 * @return the heroPortrait
	 */
	public D2SHeroPortrait getHeroPortrait() {
		return heroPortrait;
	}

	/**
	 * @param heroPortrait
	 *            the heroPortrait to set
	 */
	public void setHeroPortrait(D2SHeroPortrait heroPortrait) {
		this.heroPortrait = heroPortrait;
	}

	/**
	 * @return the actionList
	 */
	public D2SActionListWidget getActionList() {
		return actionList;
	}

	/**
	 * @param actionList
	 *            the actionList to set
	 */
	public void setActionList(D2SActionListWidget actionList) {
		this.actionList = actionList;
	}

	/**
	 * @return the actionButtons
	 */
	public D2SActionButtonsWidget getActionButtons() {
		return actionButtons;
	}

	/**
	 * @param actionButtons
	 *            the actionButtons to set
	 */
	public void setActionButtons(D2SActionButtonsWidget actionButtons) {
		this.actionButtons = actionButtons;
	}

}
